package net.takela.auth.token.token;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 *     expiration: 10000000
 *     key: PWGKz4CPdOGVBLd7CgHzyPrRhlSikiTG
 *     header: "x-auth-token"
 *     header-prefix: "Bearer "
 *     cookie-name: ukey
 *     anonymous-urls:
 */
@Getter
@Setter
public class AuthTokenProperties {
    /**
     * token有效时长
     */
    private Integer expiration;
    /**
     * 编码秘钥
     */
    private String key;
    /**
     * 
     */
    private String userInfoKey;
    /**
     * 
     */
    private String header;
    /**
     * 
     */
    private String headerPrefix;
    /**
     * 
     */
    private String cookieName;
    /**
     * 
     */
    private String issuer;
    /**
     * 
     */
    private String audience;
    /**
     * 
     */
    private String domain;

    /**
     * 
     */
    private List<String> anonymousUrls = new ArrayList<>();
    /**
     * 
     */
    private List<String> checkUrls= new ArrayList<>();
}
